#ifndef FUNCTION_CALL_H
#define FUNCTION_CALL_H

#include "Function.h"
#include "ArgNode.h"

#include <iostream>

class FunctionCall : public Function
{
	public:
		FunctionCall(char * Name, int Id, ArgNode * A): Function(Name, Id), a(A) {}
		~FunctionCall() { std::cerr << "Function Call destroyed!" << std::endl; }
		ArgNode * getArgNode();
		void accept(Visitor & v);

	private:
		ArgNode * a;
};

#endif

